CC=gcc
obj=main.o ./pos/console.o ./start_mplayer/start_mplayer.o ./lrc_lib/lrc_lib.o
target=main_xp
cflags=-Wall

$(target):$(obj)
	$(CC) $^ -o $@ $(cflags)
%.o:%.c
	$(CC) -c $< -o $@ $(cflags)

clean:
	@rm $(obj) $(target) -rf